
var ProManPlanning = new Object();

ProManPlanning.createView = function() {
	var view = new WindView();
	view.hide();

	var tasks = WindData.execute("getTasks");

	var taskTreeModel = TaskTree.createModel(tasks);
	var taskTreeView = TaskTree.createView(taskTreeModel);
	taskTreeView.setId("taskTree");
	view.addView(taskTreeView);

	var calendarView = CalendarWeek.createView(tasks);
	calendarView.setId("calendarWeek");
	view.addView(calendarView);
	
	return view;
}
